//
//  Coant.swift
//  开心微博
//
//  Created by 郑开心 on 15/12/10.
//  Copyright © 2015年 郑开心. All rights reserved.
//

import UIKit

class Coant: NSObject {
    static var keyWindow : UIWindow {
        get{
            return UIApplication.sharedApplication().keyWindow!
        }
    }
    
    static var NameFont : UIFont {
        let nameFont = UIFont.systemFontOfSize(13)
        return nameFont
    }
    
    static var TimeFont : UIFont {
        let timeFont = UIFont.systemFontOfSize(12)
        return timeFont
    }
    
    static var SourceFont : UIFont {
        let sourceFont = UIFont.systemFontOfSize(12)
        return sourceFont
    }
    
    static var TextFont : UIFont {
        let textFont = UIFont.systemFontOfSize(18)
        return textFont
    }
    
    static var ScreenW : CGFloat {
        let screenW = UIScreen.mainScreen().bounds.width
        return screenW
    }
    
    static var photoWH : CGFloat {
        return 150
    }
}
